package com.fr.base.core;

public class SimpleKV
{
  private Object key;
  private Object value;

  public SimpleKV(Object paramObject1, Object paramObject2)
  {
    this.key = paramObject1;
    this.value = paramObject2;
  }

  public Object getKey()
  {
    return this.key;
  }

  public Object getValue()
  {
    return this.value;
  }

  public boolean matchKey(Object paramObject)
  {
    return ComparatorUtils.equals(this.key, paramObject);
  }

  public boolean equals(Object paramObject)
  {
    return ((paramObject instanceof SimpleKV) && (ComparatorUtils.equals(this.key, ((SimpleKV)paramObject).key)) && (ComparatorUtils.equals(this.value, ((SimpleKV)paramObject).value)));
  }
}